package com.shishuo.cms.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.dao.DataAccessException;
import org.springframework.stereotype.Repository;

import com.shishuo.cms.entity.UserCallBackGoods;

@Repository
public interface UserCallBackGoodsDao extends IBaseDAO<UserCallBackGoods, Long>
{
	public List<UserCallBackGoods> getAllList(@Param("offset") long offset,
			@Param("rows") long rows,@Param("userId") long userId) throws DataAccessException;
	public int getAllListCount(@Param("userId") long userId) throws DataAccessException;
	boolean existUserCallBackGoods(@Param("userId") long userId,@Param("goodsId") long goodsId,@Param("goodsOrderNum") String goodsOrderNum);
}
